package com.xkdx.caipiao.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;

import com.xkdx.caipiao.R;
import com.xkdx.caipiao.application.MyApplication;
import com.xkdx.caipiao.wiget.FlipperLayout.OnOpenListener;

public class DeskTop {
	private MyApplication mApplication;
	private Context mContext;
	private View mDesktop;
	private OnOpenListener mOnOpenListener;

	public DeskTop(MyApplication application, Context context) {
		mApplication = application;
		mContext = context;
		mDesktop = LayoutInflater.from(context).inflate(R.layout.activity_lotter_info_caipiao,
				null);

	}

	public View getView() {
		return mDesktop;
	}

	public interface onChangeViewListener {
		public abstract void onChangeView(int arg0);
	}

	public void setOnOpenListener(OnOpenListener onOpenListener) {
		mOnOpenListener = onOpenListener;
	}
}
